package com.lngtms.web.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lngtms.po.User;
import com.lngtms.service.IUser;
import com.lngtms.util.Pager;

@Controller
//@RequestMapping("/user")
public class UserController {
	
	@Resource
	private IUser userService;

	public IUser getUserService() {
		return userService;
	}

	@Resource
	public void setUserService(IUser user) {
		this.userService = user;
	}

	@RequestMapping(value = "/users", method = RequestMethod.GET)
	@ResponseBody
	public String list() {
		System.out.println("dfdfdf");  
		// List<User> pager = userService.find();
		//model.addAttribute("pager", pager);
		return null;
	}
	
	

}
